<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    .container{
        max-width: 1150px;
        margin :0 auto;
        overflow:hidden;
    }
    .container>div{
        width: 33.333%;
        box-sizing: border-box;
        height: 50px;
        float: left;
        border: 1px solid orange;
    }
    @media (max-width:768px){
        .container>div{
            width: 100%;
        }
    }
    @media(min-width:768px) and (max-width:1100px){
        .container>div{
            width: 50%;
        }
    }
    </style>
</head>
<body>
    <div class="container">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
</body>
</html>